<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>apiDemo</title>
    <link rel="stylesheet" type="text/css" href="../css/reset.css"/>
    <link rel="stylesheet" type="text/css" href="index1.css"/>
    <script src="../js/rem.js" type="text/javascript" charset="utf-8"></script>
    <script src="../js/jquery-2.1.1.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="../js/vue.min.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
    <p>{{bodydata}}</p>
    <script>
        jsonValue = JSON.stringify({
            "c":"10001",
            "p":{
            	"name":"sunlei",  //用户名
             "pw":"123456",//密码
             "platId":13621292444, //第三方平台ID
             "mobileCode":7741 //手机验证码
            }
        });
        $.ajax({
        	type:'POST',
        	url:'http://earnlot.yihangyoupin.com/earnlot/qqs.us',
        	data:jsonValue,
        	dataType:'json',
        	async:true,
        	success:function(bodydata){
        		console.log(bodydata);
        		var vm = new Vue({
        			el:'body',
        			data:{
        				bodydata:JSON.stringify(bodydata)
        			}
        		})
        	}
        })
    </script>
</body>
</html>